/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hujia.profile.server.header;

import hujia.profile.domain.Role;

import java.util.Optional;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/31 9:47
 */
public interface RoleService {
    Optional<Role> getByRoleName(String roleName);

    Role add(Role role);
}
